package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Orders;
import com.itheima.vo.OrderVo;
import org.springframework.core.annotation.Order;

import java.util.List;
import java.util.Map;

public interface OrdersService extends IService<Orders> {
    public boolean submit(Orders orders);
    public Page userPage(Integer page, Integer pagesize);
    public boolean  updateState (Map map);

    public  List<OrderVo> selectPage(String number,Integer page, Integer pageSize);
}
